console.log("进入Toastindex");
import createToast from '../Toast/Toast'
console.log(createToast);
import Vue from 'vue'
const ToastConstructor = Vue.extend(createToast)
const toast = new ToastConstructor().$mount(document.createElement('div'))
console.log(toast.$el);
document.body.appendChild(toast.$el)

Vue.use(Vue.prototype.$toast = toast)
